Close
TheClose
method prepares this frame to be removed from memory, but does not affect persistent storage.
void Close ();DISCUSSION
Your part calls its embedded frame'sClose
method when a document is being closed after its final save. This method in turn calls theDisplayFrameClosed
method associated with this frame's part to notify the part that it is being closed.During execution of this method, this frame releases its references to the associated part and its containing frame, and this frame should not be used again.
Depending on whether you want to affect persistent storage, your part calls either this method or its frame's
Remove
method.SEE ALSO
TheODFrame::Remove
method (page 330).
TheODPart::DisplayFrameClosed
method (page 495).
"Responding to Reconnected and Closed Display Frames" on page 106 in OpenDoc Programmer's Guide.
"Reconnecting and Releasing Embedded Frames" on page 122 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help